﻿namespace PagedList
{
    using System;
    using System.Collections.Generic;
    using System.Runtime.CompilerServices;

    public static class PagedListExtensions
    {
        public static IPagedList<T> ToPagedList<T>(this IEnumerable<T> superset, int index, int pageSize)
        {
            return new PagedList.PagedList<T>(superset, index, pageSize);
        }
    }
}

